<!DOCTYPE html>
<html>
<head >
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta charset="utf-8">

<title>签到</title>
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
<meta content="no-cache,must-revalidate" http-equiv="Cache-Control">

<link rel="stylesheet" type="text/css" href="css/wap/e_jifen.css">
<script src="js/jquery.js" type="text/javascript"></script>
{include file="common/dialog_include.html"}
<script>
$().ready(function() {
	$(".qd_bnt").click(function() {
		$.ajax({
			url:  "wap.php?m=sign&a=in",
			type: "POST",
			data: "",
			dataType:"json",
			success: function(res){
				if(res.errmsg != undefined && res.errmsg != null){
					alertWithTime(res.errmsg, 1500);
				}else {
					alertWithTime("签到成功", 1500);
					$("#lbl_point").html(parseInt($("#lbl_point").html()) + res.point);
				}
			},
			error: function() {
				alert("error");
			}
			
		});		
	})
});
</script>

</head>
<body >
	<div class="container integral">
		<header>
			<div class="header">
                <span class="p_left" onclick="javascript:history.go(-1);"><i></i></span>
                <span class="p">我的财富</span>
                <span class="p_right"></span>
            </div>	
		</header>
		<div>
            <ul class="tbox tbox_1">
				<li>
					<a href="javascript:void(0)" onclick="dosignin()"><label ="lbl_point">{$user.point}</label><span>积分</span></a>
                    <span class="my_text">我的财富</span>
				</li>
			</ul>
         </div>
         <div class="qiandao">
         	<div><!--  <span>您已连续签到&nbsp;<span class="qd_day">20</span>&nbsp;天</span>--></div>
            <div><a class="qd_bnt">签到</a></div>
         </div>
		<div class="nav-menu">
          	<div class="nav-item">
                <a class="mainmenu" href="wap.php?m=point">
                      <i class="arrow-weixin aw-mx"></i>
                      <span class="mainmenu-txt">
                      	   <span class="mt-top">积分明细</span>
                           <span class="mt-bop">积分明细</span>
                      </span>
                      <span class="p_right"><i></i></span>
                </a>
            </div>
            <div class="nav-item">
                <a class="mainmenu" href="积分商城.html">
                      <i class="arrow-weixin aw-sc"></i>
                      <span class="mainmenu-txt">
                      	   <span class="mt-top">积分商城</span>
                           <span class="mt-bop">积分商城</span>
                      </span>
                      <span class="p_right"><i></i></span>
                </a>
            </div>
            <div class="nav-item">
                <a class="mainmenu js-mainmenu" href="wap.php?m=point&a=rule">
                	<i class="arrow-weixin aw-sm"></i>
                   <span class="mainmenu-txt">
                   		<span class="mt-top">积分说明</span>
                        <span class="mt-bop">积分说明</span>
                   </span>
                   <span class="p_right"><i></i></span>
                </a>
            </div>
            <div class="nav-item">
                <a class="mainmenu " href="我的地址.html">
                	<i class="arrow-weixin aw-dz"></i>
                    <span class="mainmenu-txt">
                    	<span class="mt-top">我的地址</span>
                        <span class="mt-bop">邮件地址</span>
                    </span>
                    <span class="p_right"><i></i></span>
                </a>
                <!-- 子菜单 -->          
             </div>
        </div>
	</div>


</body>
</html>